package org.deng.learn.designpattern.bridge;

/**
 * @author DengLibin
 * @Description
 * @Date 2019/2/21 0021 17:19
 */
public class Rect extends Shape {
    public Rect(Color color) {
        super(color);
    }

    @Override
    void draw() {
        System.out.println(this.color.getColor()+"的矩形");
    }
}
